event: fix bind() exception bug
event: restructure urllib