[SysApps] Raw Socket API implementation

This branch includes common classes and prototypes that are going to be useful for implementing the SysApps APIs and also a fully functional implementation of the TCPSocket and TCPServerSocket interface.

Continuation of #682