added error verification on sendMsg
added waitready function
now allows reuse of addr
fixed a bug of recvMsg not breaking lines
fixed problems with multiple msg
fixed error with new lines on servers msg
major code changes
bug fixes
fixed some error on closing client connection