Construct's built in plugins are not open source and are not easily customisable - and that's intentional, as being able to modify built-in plugins causes appalling compatibility problems (something we learned the hard way with Construct 2).
If you have advanced networking requirements, a new plugin that does what you need using something like WebSockets may be a better direction to go in.