Simple Java TCP/HTTP server wired for MYSQL and JSON replies