fixed null pointer dereference in pico_http #123