Fixed server bug. Server can now receive data and tell the client if the data is good or not.