Initial Sockets support.
Fix parsing api.
Move Sockets to Shared