Fixing linking problems (_start symbol not found + cannot resolve pthread create)
First local namespace socket server version that compiles
fixing main type
call server functions
fixing linking for buildroot