Changed time out to minimum time (essentially a non-blocking socket (have to check this))
Still to do: combine parts of message if not whole string was receive