Fixed the acceptRequest method. Might change it later, but only for structure and readability. Still have problems establishing a client-server connection. Need to take care of that.