Small improvements to osrecv, still doesn't work