adding warning flag; fix lib link dependency to reduce compile time
refactor socket-poll; req_client implemented but untested