Better status code handling
allow setting status code at send call
Test it