I've looked at it and found some issue with the OpenSSL library. Please, try the following patch on hiawatha.c
354c354
< int result = 200, write_bytes;
---
> int result = 200, write_bytes, select_result;
486c486,493
< switch (select(session->client_socket + 1, &read_fds, NULL, NULL, &select_timeout)) {
---
>#ifdef HAVE_SSL
> select_result = session->binding->use_ssl ? SSL_pending(session->ssl_data) : 0;
>
> if (select_result == 0)
>#endif
> select_result = select(session->client_socket + 1, &read_fds, NULL, NULL, &select_timeout);
>
> switch (select_result) {