now using httpServerSocket class instead of Java/ServerSocket