add check_lib of pthread
fix BUG and change configuration format.
 - send invalid PONG frame when receive PING frame while receiving data from backend
 - unable to send binary data from backend till receiving binary data from a client.