assign http handle pool mutex to symbol

to hide it from garbage collector
add timeout to select()

to check for signal activity and possibly break listen loop
use hash-bang notation to make script executable