added overloaded writeLine method in BufferedSocket

fix premake script error
add onStart/Stop to socketserver
fixup port stuff in socketserver
updated socketfactory