add tcp_send_timeout and server_socket_rcvbuf as config options; fix getline() segfaulting because *line was not initialized