Fixed http renderer wrongly destroying the client right after connection when
data wasn't inmediately available on the client's socket.
Simply needed to wait if socket error was transient.
Added read-write mutex to libtizosal