socket: Fixed poll input event. (cherry picked from commit 040a543f57107efc267b7b5b7352293dcb7d87d5)
socket: Fixed poll input event.
(cherry picked from commit 040a543f57107efc267b7b5b7352293dcb7d87d5)

mwgoldsmith/libssh,miloj/libssh-v0.5,mwgoldsmith/libssh,miloj/libssh-v0.5,miloj/libssh-v0.5,mwgoldsmith/ssh,mwgoldsmith/libssh,mwgoldsmith/ssh,miloj/libssh-v0.5,mwgoldsmith/libssh,mwgoldsmith/ssh,mwgoldsmith/ssh