Simplified Socket.tryRecv signature

I scratched my head around the `length` and `flags` arguments of the old Socket.tryRecv function, then rewrite it. 

However, I'm not sure it fully respects the old semantics and if is sufficient in all circumstances.