Make httpmime dependency optional