Fix cookie on redirects to same domain URLs with path compoment empty
Don't break on invalid urls
! over not
Merge branch 'fix_cookie_redirect' of git://github.com/divoxx/em-http-request
normalize location URL on redirects