xheaders should be passed to listen method

see #8