Checkin for Kunal, added ssl support