Add another meta packet on first connection
Slight refactor of socket-server code
refactor socketserver code, improve logging