Fixed the server thing

Just needed to alert the socket about establishment earlier. It was off
by one which was cascading errors down the line.