Added socket functionality and test
asdf
Added more stuffs