Cleaned up errors in request parsing and fixed bind() issue with port number