added gln_set_buffer; made gln_alloc_buffer reuse existing buffers; fixed gln_socket_connect to properly respond to input-input connect; renamed test->unittest