https is now exclusively defined on __init__
splitting pipe into reader and writer