Remove php eval function
Parse socket and port
Handle arguments in main