Making the socket not pause the while loop if it doesn't receive data.
Merge pull request #1 from Reyuu/maciej

Making the socket not pause the while loop if it doesn't receive data.