Added function coap_poll_connection