Log error code from BitBlt failure
Fix crash if keyframe requested during buffered frame flush
Further netcode improvements:
Handle socket errors properly
Ignore multiple stop requests (and subsequent auto reconnects)
Use event polling for ideal send backlog (TCP buffer size)
Fix crash if shutdown attempted before connected